package com.ilink.groundservice.entity.PO.dataset;/**
 * <h3>iLink-java-backend-zhangbo2</h3>
 *
 * @Description <p>数据广场元数据</p>
 * @Author ZhangBo
 * @Date 2024-09-15 20:34
 **/

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @ClassName DatasetMetadata
 * @Description
 * @Author ZhangBo
 * @Date 2024-09-15 20:34
 **/
@TableName(value = "dataset_metadata")
@Data
public class DatasetMetadata implements Serializable {

    @TableId
    private Long datasetId;

    private String name;

    private String description;

    private String creatorName;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createdTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updatedTime;

    private Object status;

    private Object accessLevel;

    private String imagePath;

    private String url;

    private Object reviewStatus;

    private Long downloadNum;

    private Long clickNum;

    private Long shareNum;

    private Long favoriteNum;

    private int fromMinio;

    private static final long serialVersionUID = 1L;
}
